<?php

namespace app\api\validate;

use think\Validate;

/**
 * 验证类
 */
class NoteValidate extends Validate
{
    protected $rule = [
        'id' => 'require',
    ];

    protected $message = [
        'id.require' => '信息不存在',
    ];

    protected $scene = [
        'info' => ['id'],
    ];
}